A Small Scale Reflection Extension for the Coq system
نویسندگان
چکیده
This document describes a set of extensions to the proof scripting language of the Coq proof assistant. While these extensions were developed to support a particular proof methodology small-scale reflection most of them actually are of a quite general nature, improving the functionality of Coq in basic areas such as script layout and structuring, proof context management, and rewriting. Consequently, and in spite of the title of this document, most of the extensions described here should be of interest for all Coq users, whether they embrace small-scale reflection or not. Key-words: proof assistants, formal proofs, Coq, small scale reflection, tactics ∗ Microsoft Research, Cambridge, R-U, Centre commun INRIA Microsoft Research † Équipe-projet TypiCal, INRIA Futurs, Centre commun INRIA Microsoft Research ‡ Équipe-projet Mathematical Components, INRIA Futurs, Centre commun INRIA Microsoft Research in ria -0 02 58 38 4, v er si on 1 1 5 S ep 2 01 2 A Small Scale Reflection Extension for the Coq system Résumé : Ce rapport présente une extension de l’assistant à la preuve Coq. Cette extension a été conçue pour améliorer le support d’une méthodologie de preuve formelle, appelée réflexion à petite échelle. Néanmoins, la majeure partie de ses apports sont des améliorations d’ordre général des fonctionnalités du système Coq comme la structuration des scripts, la gestion des contextes de preuve, et la réécriture. C’est pourquoi, en dépit du titre de ce document, la plupart des fonctionnalités décrites ici sont susceptibles d’intéresser tout utilisateur de Coq, utilisant ou non les techniques de réflexion à petite échelle. Mots-clés : assistants à la preuve, preuve formelle, Coq, réflexion à petite échelle, tactiques in ria -0 02 58 38 4, v er si on 1 1 5 S ep 2 01 2 A Small Scale Reflection Extension for the Coq system 3
منابع مشابه
An introduction to small scale reflection in Coq
Small-scale reflection is a formal proof methodology based on the pervasive use of computation with symbolic representations. Symbolic representations are usually hidden in traditional computational reflection (e.g., as used in the Coq[The10] ring, or romega): they are generated on-the-fly by some heuristic algorithm and directly fed to some decision or simplification procedure whose output is ...
متن کاملSmall-scale Farmers’ Attitude and Problems regarding One House One Farm Approach for their Livelihoods Improvement
Increasing population growth and decreasing land ratio made it difficult for rural people of Bangladesh to maintain their livelihood. Especially the small-scale farmers find it trickier using their scarce resources. One House One Farm approach(OHOF) is designed to utilize the house and farm resources of the small- scale farmers to improve their livelihood. The focus of the study was to determin...
متن کاملA Reflection-based Proof Tactic for Lattices in Coq
Coq is a proof assistant featuring a tactic-based interactive theorem prover. The latest incarnation comes with over 150 tactics that assist the user in developing a formal proof. These tactics range from the simple and mundane to the ‘allpowerful’. Some examples from the latter category are the omega tactic that solves a goal in Presburger arithmetic and the ring and field tactics that solve i...
متن کاملMirrorShard: Proof by Computational Reflection with Verified Hints
We describe a method for building composable and extensible verification procedures within the Coq proof assistant. Unlike traditional methods that rely on run-time generation and checking of proofs, we use verified-correct procedures with Coq soundness proofs. Though they are internalized in Coq’s logic, our provers support sound extension by users with hints over new domains, enabling automat...
متن کاملEffectiveness of Extension Services in Enhancing Outgrowers’ Credit System: A Case of Smallholder Sugarcane Farmers in Kisumu County, Kenya
The purpose of this study was to investigate the role of extension services in enhancing effectiveness of out growers’ credit system in Kisumu County, Kenya. The study specifically sought to determine whether public and private extension services play a significant role in enhancing effectiveness of out-growers’ credit system among smallholder sugarcane farmers. A total of 110 small scale farme...
متن کامل